package com.tsy.graduate.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@TableName("question")
public class Question {
    @TableId(type = IdType.AUTO)
    Long id;

    String questionContent;

    String choices;

    Integer correctAnswer;

    String choiceExplain;

    private Integer created;

    private Integer updated;

    @TableLogic
    private Boolean isDeleted;

}
